package com.lion.ball.app.models.mock;

import java.io.Serializable;

/**
 * @author Chris Chan
 * Create On 2025/8/26 下午5:43
 * Use for: 模拟数据
 * Explain:
 */
public class MockUserItemResult implements Serializable {
    private static final long serialVersionUID = 1L;
    private String createTime;
    private String email;
    private Long id;
    private String phone;
    private String roles;
    private boolean status;
    private String username;

    public MockUserItemResult() {
    }

    public MockUserItemResult(String createTime, String email, Long id, String phone, String roles, boolean status, String username) {
        this.createTime = createTime;
        this.email = email;
        this.id = id;
        this.phone = phone;
        this.roles = roles;
        this.status = status;
        this.username = username;
    }

    public static MockUserItemResult create(Long id, String username, String phone, String email, String roles, boolean status, String createTime) {
        return new MockUserItemResult(createTime, email, id, phone, roles, status, username);
    }

    public static MockUserItemResult of(Long id, String username, String phone, String email, String roles, boolean status, String createTime) {
        return new MockUserItemResult(createTime, email, id, phone, roles, status, username);
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
